﻿using System;
using System.Runtime.InteropServices;
using Scenario.WAPI.Exception;

namespace Scenario.WAPI
{
    public partial class Session
    {
        [DllImport("WAPI.dll", EntryPoint = "InitSession")]
        private static extern IntPtr InitSession(ref Response response);

        [DllImport("WAPI.dll", EntryPoint = "InitSessionWithParams")]
        private static extern IntPtr InitSessionWithParams(String ConfigFile, ref Response response);

        [DllImport("WAPI.dll", EntryPoint = "EndSession")]
        private static extern IntPtr EndSession(ref Response response);
    }
}
